package sz.com.postoffice.jxyzwgcase.service;

import sz.com.postoffice.jxyzwgcase.core.TableDataInfo;
import sz.com.postoffice.jxyzwgcase.pojo.ResourceMarket;

import java.util.List;

/**
 * @ClassName ResourceMarketService
 * @Deacription
 * @Author jmx
 * @Date 2020/11/20 17:59
 * @Version 1.0
 */
public interface ResourceMarketService extends BaseService<ResourceMarket>{
    boolean updateByType(ResourceMarket market);
    boolean deleteByTypeAndId(ResourceMarket market);
    boolean deleteByTypeAndCode(ResourceMarket market);
    boolean insertByType(ResourceMarket market);
    ResourceMarket findByTypeAndId(ResourceMarket market);
    TableDataInfo findPageListByType(ResourceMarket market,int pageSize, int pageNum);
    List<ResourceMarket> findListByType(ResourceMarket market);
    ResourceMarket findByTypeAndCode(ResourceMarket market);

}
